import { createRouter, createWebHistory, RouteRecordRaw } from "vue-router";
 
const routes: Array<RouteRecordRaw> = [
	{
		path: "/",
		name: "Index",
		component: () => import("../views/PageIndex.vue"),
		children: [
			{
				path:"test",
				name:"test",
				component:() => import("../components/subject/ThreeJS/ChildPageTest.vue")
			}
		]
	},
	// 添加更多的路由规则
];
 
const router = createRouter({
	history: createWebHistory(),
	routes,
});

// 路由守卫预留位置
 
export default router;